package cn.jingyuan.swan.simple.dao.impl;

import cn.jingyuan.swan.cloud.dao.mybatisplus.AbstractMyBatisPlusCrudDao;
import cn.jingyuan.swan.simple.dao.BookDao;
import cn.jingyuan.swan.simple.mapper.BookMapper;
import cn.jingyuan.swan.simple.model.po.Book;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import javax.annotation.Resource;


// FIXME 示例项目,暂时去掉.
// @Repository
public class BookDaoImpl extends AbstractMyBatisPlusCrudDao<Book, String> implements BookDao {

    @Resource
    BookMapper mapper;

    @Override
    public BaseMapper<Book> getMapper() {
        return this.mapper;
    }

}
